home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # --------------------------------------------------------------------------
- # Copyright 1992 by Forschungszentrum Informatik (FZI)
- #
- # You can use and distribute this software under the terms of the licence
- # you should have received along with this program.
- # If not or if you want additional information, write to
- # Forschungszentrum Informatik, "STONE", Haid-und-Neu-Strasse 10-14,
- # D-7500 Karlsruhe 1, Germany.
- # --------------------------------------------------------------------------
- # sos-sil - 03/09/91 - Dietmar Theobald
- #
- # sos-sil <schema> [-r] [-a <file>...] [-p] [-l]
- #
- # SOS schema implementation editor which is used to maintain the association of
- # object files/libraries with <schema>.
- #
- # -r: remove the association with all object files associated so far
- # -a <file>...: associate the given files with <schema>
- # -p: print the object files associated with <schema>
- # -l: load the object files associated to <schema>
- #
- BINDIR=${SOSPATH-__SOS_INSTALLED_PATH__}/bin/
-
- test="${SOSCONTAINER?}"
- wd=`pwd`
-
- for arg
- do
- case "$arg" in
- *.a | *.o) [ "`expr substr "$arg" 1 1`" = '/' ] || arg="$wd/$arg" ;;
- esac
- args="$args $arg"
- done
-
- ${BINDIR}sil $args || exit 1
-